<?php

// no direct access
defined('_JEXEC') or die('Restricted access');

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo _LANGUAGE; ?>" xml:lang="<?php echo _LANGUAGE; ?>">

<head>

	<jdoc:include type="head" />
	<?php if($my->id) initEditor(); ?>
	<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
	
	<?php JHTML::_('behavior.mootools'); ?>

<?php
#main width#
$mod_right = $this->countModules( 'right' );
if ( $mod_right ) { $width = '';
} else { $width = '-full';

}
?>

<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/camenian/css/tdefaut.css" type="text/css" media="all" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/camenian/css/menu.css" type="text/css" media="all" />
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/scroll.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/moomenu.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/jquery.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/slideshow.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/script.js"></script>

<link rel="icon" type="image/gif" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.gif" />
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/DD_roundies_0.0.2a-min.js"></script>


<script type="text/javascript">
DD_roundies.addRule('#navigation ul li ul,a.readon', '10px', true);
</script>



<?php //setting slide fading
$pause= $this->params->get("pause", "5");
$fadespeed= $this->params->get("fadespeed", "0.5");
$hauteur= $this->params->get("hauteur", "220");
$largeur= $this->params->get("largeur", "950");
?>

</head>

<body>
    <div id="top-header">
        <div class="pagewidth">
		    <div id="head">
		        <div id="sitename">
				<a href="index.php">
					<div id="sitename-top">
						<object type="application/x-shockwave-flash" data="templates/<?php echo $this->template ?>/images/globo.swf" width="60" height="60"> 
						<param name="movie" value="templates/<?php echo $this->template ?>/images/globo.swf" /> 
						<param name="wmode" value="transparent" /> 
						<param name="menu" value="false" /> 
						</object>
					</div>
					<div id="sitename-bottom">
						<img src="templates/<?php echo $this->template ?>/images/logo_sw.png" alt="logotype" />
					</div>
				</a>
			    </div>
				<div id="navigation">
                            <jdoc:include type="modules" name="user3" />
			    </div>
				<div id="search">
	                    <jdoc:include type="modules" name="user4" />
					</div>
					<!--
				<div id="tool">
					            <jdoc:include type="modules" name="login" /> 
				</div>
				-->
		</div>
	</div>
	    <div class="pagewidth">
		    <div id="slideshow-w">
			    <div id="slideshow">
				    <img src="templates/<?php echo $this->template ?>/images/slide1.png" alt="image1" />
					<img src="templates/<?php echo $this->template ?>/images/slide2.png" alt="image2" />
					 <img src="templates/<?php echo $this->template ?>/images/slide3.png" alt="image3" />
				</div>
			</div>
				<script type="text/javascript" charset="utf-8">
					var $j = jQuery.noConflict(); 
						$j(document).ready(function(){
						 $j("#slideshow").slideshow({
			                pauseSeconds:<?php echo $pause ?>,// 5,
			                height:<?php echo $hauteur ?>, //220,
						    fadeSpeed:<?php echo $fadespeed ?>,// 0.5,
							width:<?php echo $largeur ?>, //950,
			                caption: false
		                });
		             });
				 </script>
						    
	    </div>
		    <div id="content-top">
			</div>
			    <div id="content">
				     <div class="pagewidth">
				        <div id="main<?php echo $width; ?>">
						    <jdoc:include type="component" />
						</div>
						<?php if($this->countModules('right')) : ?>
							<div id="right">
	                            <jdoc:include type="modules" name="right" style="xhtml" />
	                        </div>					
	                    <?php endif; ?>
					</div>
					<div id="content-bottom">
			        </div>
					        <div id="footer">
								<div id="footer-top">
								</div>
		                        <div class="pagewidth">
			                        <div id="users-box">
				                        <div class="box">
						                    <jdoc:include type="modules" name="user2" style="xhtml" />
					                    </div>
					        
					                    <div class="box">
						                    <jdoc:include type="modules" name="user5" style="xhtml" />
					                    </div>
					        
					                    <div class="box">
						                    <jdoc:include type="modules" name="user6" style="xhtml" />
					                    </div>
						
						                <div class="box">
						                    <jdoc:include type="modules" name="user7" style="xhtml" />
					                    </div>
				                    </div>
			                    </div>
                            </div>
							    <div id="footer-bottom">
				                    <div class="pagewidth">
			                            <div class="ftb">
                                            Copyright&copy; <?php echo date( '2008 - Y' ); ?> <?php echo $mainframe->getCfg('sitename');?> .&nbsp;design by globbers for <a target=" _blank"  href= "http://www.globbersthemes.com" > globbersthemes</a>
                                         </div>
                                            <div id="top">
                                                <div class="top_button">
                                                    <a href="#" onclick="scrollToTop();return false;">
						                            <img src="templates/<?php echo $this->template ?>/images/top.png" width="30" height="30" alt="top" /></a>
                                                </div>
					                        </div>
			                        </div>
				                </div>
			
</body>
</html>